package com.buyingtickets.entity;

/**
 * @author Hexz
 * @date 2021/6/23 23:10
 */
public class CarriageInformation {
    private int carInfoId;//车厢信息ID
    private Type carType;//类型对象：车厢类型
    private int row;//车厢排数
    private int col;//车厢列数

    @Override
    public String toString() {
        return "CarriageInformation{" +
                "carInfoId=" + carInfoId +
                ", carType=" + carType +
                ", row=" + row +
                ", col=" + col +
                '}';
    }

    public int getCarInfoId() {
        return carInfoId;
    }

    public void setCarInfoId(int carInfoId) {
        this.carInfoId = carInfoId;
    }

    public Type getCarType() {
        return carType;
    }

    public void setCarType(Type carType) {
        this.carType = carType;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getCol() {
        return col;
    }

    public void setCol(int col) {
        this.col = col;
    }
}
